Eclipse Platform
Pre-release 3.0

org.eclipse.team.core.sync
Interface IRemoteSyncElement

All Superinterfaces:
ILocalSyncElement
All Known Implementing Classes:
RemoteSyncElement

public interface IRemoteSyncElement
extends ILocalSyncElement

Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves. A IRemoteSyncElement describes the relative synchronization of a local and remote resource using a base resource for comparison.

Differences between the base and remote resources are classified as incoming changes; if there is a difference, the remote resource is considered the incoming resource.

Since:
2.0
See Also:
ILocalSyncElement

Field Summary
 
Fields inherited from interface org.eclipse.team.core.sync.ILocalSyncElement
ADDITION, AUTOMERGE_CONFLICT, CHANGE, CHANGE_MASK, CONFLICTING, DELETION, DIRECTION_MASK, GRANULARITY_CONTENTS, GRANULARITY_CONTENTS_IGNORE_WHITESPACE, GRANULARITY_TIMESTAMP, IN_SYNC, INCOMING, MANUAL_CONFLICT, OUTGOING, PSEUDO_CONFLICT
 
Method Summary
 IRemoteResource getRemote()
          Answer the remote sync element of this node.
 boolean isThreeWay()
          Answers true if the base tree is not to be considered during sync comparisons and false if it should.
 
Methods inherited from interface org.eclipse.team.core.sync.ILocalSyncElement
getBase, getLocal, getName, getSyncKind, isContainer, members
 

Method Detail

getRemote

public IRemoteResource getRemote()
Answer the remote sync element of this node. Returns null if there is no remote.

Returns:
the remote resource in this sync element, or null is there is none.

isThreeWay

public boolean isThreeWay()
Answers true if the base tree is not to be considered during sync comparisons and false if it should. If the base tree is ignored the sync comparison can be based on isOutOfDate and isDirty methods only.


Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.